package org.darkforest.model;

import org.darkforest.common.util.DateUtil;
import org.darkforest.common.util.Page;

public class FestivalRemind extends Page {
    private Integer fId;

    private String fDate;

    private String fRemindType;

    private String fRelationMemberIds;

    private String fMark;

    private Integer fRemindState;

    private String createTime;

    private Integer createrId;

    private String createName;

    private String showFlag;

    private String fName;

    private String isGift;

    private String orderId;

    private String fRemindName;

    private String dateInfo; //页面日期展示

    private String currateDate; //当前日期，查询条件

    private String isAnnual; //是否为全年送 1是 0 否

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public String getfDate() {
        return fDate;
    }

    public void setfDate(String fDate) {
        this.fDate = fDate == null ? null : fDate.trim();
    }

    public String getfRemindType() {
        return fRemindType;
    }

    public void setfRemindType(String fRemindType) {
        this.fRemindType = fRemindType == null ? null : fRemindType.trim();
    }

    public String getfRelationMemberIds() {
        return fRelationMemberIds;
    }

    public void setfRelationMemberIds(String fRelationMemberIds) {
        this.fRelationMemberIds = fRelationMemberIds == null ? null : fRelationMemberIds.trim();
    }

    public String getfMark() {
        return fMark;
    }

    public void setfMark(String fMark) {
        this.fMark = fMark == null ? null : fMark.trim();
    }

    public Integer getfRemindState() {
        return fRemindState;
    }

    public void setfRemindState(Integer fRemindState) {
        this.fRemindState = fRemindState;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public Integer getCreaterId() {
        return createrId;
    }

    public void setCreaterId(Integer createrId) {
        this.createrId = createrId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName == null ? null : createName.trim();
    }

    public String getShowFlag() {
        return showFlag;
    }

    public void setShowFlag(String showFlag) {
        this.showFlag = showFlag;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public String getIsGift() {
        return isGift;
    }

    public void setIsGift(String isGift) {
        this.isGift = isGift;
    }

    public String getfRemindName() {
        return fRemindName;
    }

    public void setfRemindName(String fRemindName) {
        this.fRemindName = fRemindName;
    }

    public String getDateInfo() {
        if(this.fDate!=null){
            String dateinfo = DateUtil.dateToString(DateUtil.strToDate(this.fDate, DateUtil.DEFAULT_DATE_PATTERN), "MM月dd日");
            return dateinfo;
        }else{
            return "";
        }
    }

    public void setDateInfo(String dateInfo) {
        this.dateInfo = dateInfo;
    }

    public String getCurrateDate() {
        return currateDate;
    }

    public void setCurrateDate(String currateDate) {
        this.currateDate = currateDate;
    }

    public String getIsAnnual() {
        return isAnnual;
    }

    public void setIsAnnual(String isAnnual) {
        this.isAnnual = isAnnual;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
}